package top.littleze.aiattendance.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import top.littleze.aiattendance.entity.AttendanceUserEntity;
import top.littleze.aiattendance.utils.page.Reply;

import java.util.List;

@Mapper
public interface AttendanceUserEntityMapper {
    int deleteByPrimaryKey(String userId);

    int insert(AttendanceUserEntity record);

    int insertSelective(AttendanceUserEntity record);

    AttendanceUserEntity selectByPrimaryKey(String userId);

    int updateByPrimaryKeySelective(AttendanceUserEntity record);

    int updateByPrimaryKey(AttendanceUserEntity record);






    AttendanceUserEntity queryLogin(@Param("userId") String userId, @Param("password") String password);

    List<AttendanceUserEntity> getUser();
}